Skip to content

CLI: Update hypeman SDK to cf8022d3a0b1dd8cabd16e1b7dde0a7b1b193b51 and add new commands/flags - #64

Open
kernel-internal[bot] wants to merge 5 commits into
mainfrom
cli-coverage-update
Open

CLI: Update hypeman SDK to cf8022d3a0b1dd8cabd16e1b7dde0a7b1b193b51 and add new commands/flags#64
kernel-internal[bot] wants to merge 5 commits into
mainfrom
cli-coverage-update

Conversation

@kernel-internal

@kernel-internal kernel-internal Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

This PR updates the Hypeman Go SDK to cf8022d3a0b1dd8cabd16e1b7dde0a7b1b193b51 (released as v0.26.0) and carries the CLI commands/flags added for new SDK methods on this evergreen branch.

SDK Update

  • Updated hypeman-go to cf8022d3a0b1dd8cabd16e1b7dde0a7b1b193b51 (v0.25.1-0.20260821204035-ea5a7f8d0d06 -> v0.26.0)

cf8022d is the release commit for v0.26.0, which tags the already-vendored ea5a7f8d tree. It contains no API surface changes, so this bump moves the CLI off a pseudo-version and onto the tagged release.

Coverage Analysis

A full enumeration of SDK methods and CLI commands was performed for this SDK version:

  • Every method listed in api.md (62 across Health, Capabilities, Images, Instances, Instances.AutoStandby, Instances.Volumes, Instances.Snapshots, Instances.SnapshotSchedule, Snapshots, Volumes, Devices, Ingresses, Resources, Builders, Builds, and Pushes) is invoked by the CLI.
  • Every field on every *Params struct, including the nested AutoStandbyPolicyParam, HealthCheckParam, RestartPolicyParam, SnapshotPolicyParam, VolumeMountParam, IngressRuleParam, MemoryReclaimRequestParam, CreatePushRequestParam, and SnapshotCompressionConfigParam shapes, maps to a CLI flag or positional argument.
  • openapi.yaml contains no x-cli-skip endpoints.

No new coverage gaps were found for this SDK version.

Commands and Flags On This Branch

Accumulated from earlier runs against main:

  • hypeman capabilities for client.Capabilities.Get()
  • --username, --password, --registry-token on hypeman image create and hypeman pull for ImageNewParams.Credentials
  • --ttl and --expires-at on hypeman run for InstanceNewParams.Ttl / InstanceNewParams.ExpiresAt
  • hypeman update expiration --ttl/--expires-at for InstanceUpdateParams.Ttl / InstanceUpdateParams.ExpiresAt

Triggered by: kernel/hypeman-go@cf8022d
Reviewer: @stainless-app[bot]

kernel-internal Bot and others added 2 commits August 14, 2026 15:30
The SDK now accepts Docker-style registry credentials on ImageNewParams, so a
private-registry image can be pulled without the server holding credentials for
that registry. Expose them as --username/--password/--registry-token on
`hypeman image create` and `hypeman pull`.

`hypeman push create` already had the same three flags for the outbound push
credentials, so both call sites now share one flag set and one builder.

A full enumeration of the 61 SDK methods in api.md and their param struct fields
against the CLI command tree found no other coverage gaps.

Co-authored-by: Cursor <cursoragent@cursor.com>
Bump github.com/kernel/hypeman-go to 7f21c67d750f6dd66c6b6af04e88c710841f2daf,
which adds the GET /capabilities resource.

Expose it as `hypeman capabilities` so users can discover which runtimes and
features a host actually supports instead of hard-coding hypervisor knowledge.

Co-authored-by: Cursor <cursoragent@cursor.com>
@kernel-internal kernel-internal Bot changed the title CLI: Update hypeman SDK to 913f5b9d8432fe6bd2f0c7af7aba16a71bfe1c5a and add new commands/flags CLI: Update hypeman SDK to 7f21c67d750f6dd66c6b6af04e88c710841f2daf and add new commands/flags Aug 17, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	pkg/cmd/pushcmd.go
@kernel-internal kernel-internal Bot changed the title CLI: Update hypeman SDK to 7f21c67d750f6dd66c6b6af04e88c710841f2daf and add new commands/flags CLI: Update hypeman SDK to 3819f7931388d925f77c3f1e921d76ea65ff3e43 and add new commands/flags Aug 19, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b91ebcf. Configure here.


if format == "auto" || format == "" {
return showCapabilities(os.Stdout, res)
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Transform ignored in default format

Medium Severity

handleCapabilities always prints the full showCapabilities table when --format is the default auto, and never applies --transform. The advertised hypeman capabilities --transform runtimes path therefore still dumps the whole summary instead of falling through to ShowJSON.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit b91ebcf. Configure here.

Bumps github.com/kernel/hypeman-go to ea5a7f8d0d069b51e10189a8d0196f6155aaa4a8.

A full enumeration of api.md against the pkg/cmd command tree found every SDK
method already reachable from the CLI, but the SDK bump adds instance TTL /
absolute expiration to InstanceNewParams and InstanceUpdateParams, which had no
CLI surface. Expose them as --ttl and --expires-at on `hypeman run` and a new
`hypeman update expiration` subcommand, rejecting the mutually exclusive
combination and malformed values before the API round trip.

Co-authored-by: Cursor <cursoragent@cursor.com>
@kernel-internal kernel-internal Bot changed the title CLI: Update hypeman SDK to 3819f7931388d925f77c3f1e921d76ea65ff3e43 and add new commands/flags CLI: Update hypeman SDK to ea5a7f8d0d069b51e10189a8d0196f6155aaa4a8 and add new commands/flags Aug 21, 2026
Pin the CLI to the tagged v0.26.0 release of github.com/kernel/hypeman-go
instead of the pseudo-version for the unreleased ea5a7f8d commit.

A full enumeration of api.md methods and their param structs against the
CLI command tree found no coverage gaps: all 62 SDK methods and every
param field already map to an existing command or flag.

Co-authored-by: Cursor <cursoragent@cursor.com>
@kernel-internal kernel-internal Bot changed the title CLI: Update hypeman SDK to ea5a7f8d0d069b51e10189a8d0196f6155aaa4a8 and add new commands/flags CLI: Update hypeman SDK to cf8022d3a0b1dd8cabd16e1b7dde0a7b1b193b51 and add new commands/flags Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants